package com.amumu.drama.common.config;

import lombok.Getter;
import lombok.Setter;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

@Setter
@Getter
@Configuration
public class AliyunProperties {

    /**
     * accessKeyId
     */
    @Value("${aliyun.accessKeyId}")
    private String accessKeyId;

    /**
     * 密钥
     */
    @Value("${aliyun.accessKeySecret}")
    private String accessKeySecret;

    @Value("${aliyun.regionId}")
    private String regionId;
    /**
     * 签名
     */
    @Value("${aliyun.signName}")
    private String signName;

    @Value("${aliyun.appCode}")
    private String appCode;

    @Value("${aliyun.userId:null}")
    private String userId;

    @Value("${aliyun.customerId:null}")
    private String customerId;

    @Value("${aliyun.verifyKey:null}")
    private String verifyKey;
    /**
     * 短信登录模板
     */
    @Value("${aliyun.smsCaptchaTemplateCode}")
    private String smsCaptchaTemplateCode;

    @Value("${aliyun.enableSmsCaptcha:false}")
    private Boolean enableSmsCaptcha;

    @Value("${aliyun.enableVerifyIdCard:false}")
    private Boolean enableVerifyIdCard;
}
